package com.neusoft.zqygbc.neusoft_wenda.service;

import com.neusoft.zqygbc.neusoft_wenda.javeBean.FollowList;
import com.neusoft.zqygbc.neusoft_wenda.javeBean.JudgeStatus;
import com.neusoft.zqygbc.neusoft_wenda.javeBean.Status;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Shinelon on 2017/5/19.
 */

public interface FollowService {
    //判断是否关注
    @GET("Follow/isfollow")
    Call<JudgeStatus> isfollow(
            @Query("uid") String user_id,
            @Query("fuid") String fuid
    );

    //关注
    @GET("Follow/follow")
    Call<Status> follow(
            @Query("uid") String user_id,
            @Query("fuid") String fuid
    );

    //取消关注
    @GET("Follow/delfollow")
    Call<Status> delfollow(
            @Query("uid") String user_id,
            @Query("fuid") String fuid
    );

    //关注列表
    @GET("Follow/followlist")
    Call<FollowList> followlist(
            @Query("uid") String user_id
    );
}
